package router

import (
	"grs-report-admin/service"

	"github.com/gin-gonic/gin"
)

func RegisterDataSetRouter(r *gin.RouterGroup) {
	dataSetRouter := r.Group("/set")
	dataSetRouter.GET("/list", service.GetDataSetList)
	dataSetRouter.POST("/add", service.AddDataSet)
	dataSetRouter.POST("/edit", service.EditDataSet)
	dataSetRouter.POST("/delete", service.DeleteDataSet)
	dataSetRouter.GET("/exec", service.DataSetExec)
}
